package ma.ensias.healthme.entities;

import java.io.Serializable;
import java.util.List;

public class PointTrait implements Serializable{
	
	private int id;
	private String libelle;
	private float longitude;
	private float latitude;
	private String adresse;
	private String type;
    private List<Maladie> maladies;
	
	public PointTrait() {
		super();
	}
	
	public PointTrait(int id, String libelle, float longitude, float latitude) {
		super();
		this.id = id;
		this.libelle = libelle;
		this.longitude = longitude;
		this.latitude = latitude;
	}

    public void setMaladies(List<Maladie> maladies) {
        this.maladies = maladies;
    }

    public List<Maladie> getMaladies() {
        return maladies;
    }
        
        
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getLibelle() {
		return libelle;
	}
	public void setLibelle(String libelle) {
		this.libelle = libelle;
	}
	public float getLongitude() {
		return longitude;
	}
	public void setLongitude(float longitude) {
		this.longitude = longitude;
	}

    public PointTrait(int id, String libelle, float longitude, float latitude, String adresse, String type) {
        this.id = id;
        this.libelle = libelle;
        this.longitude = longitude;
        this.latitude = latitude;
        this.adresse = adresse;
        this.type = type;
    }
        
	public float getLatitude() {
		return latitude;
	}
	public void setLatitude(float latitude) {
		this.latitude = latitude;
	}

	public String getAdresse() {
		return adresse;
	}

	public void setAdresse(String adresse) {
		this.adresse = adresse;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

}
